package org.lc.scoretj.repository;

import org.lc.scoretj.model.TrainingLevelMajorTeamCourseStatistics;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface TrainingLevelMajorTeamCourseStatisticsRepository extends JpaRepository<TrainingLevelMajorTeamCourseStatistics, Integer> {
    
    /**
     * 根据学期查询统计数据
     * @param xueQe 学期
     * @param pageable 分页参数
     * @return 分页结果
     */
    Page<TrainingLevelMajorTeamCourseStatistics> findByXueQe(String xueQe, Pageable pageable);
}